package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.woniu.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("wnsys_order_info")
public class OrderInfo  extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty("订单标题")
    private String title;

//    @ApiModelProperty("昵称")
//    private String name;

    @ApiModelProperty("商户订单编号")
    private String orderNo;

    private String paymentType;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("支付产品id")
    private Long productId;

    @ApiModelProperty("订单金额(分)")
    private BigDecimal totalFee;

    @ApiModelProperty("订单二维码连接")
    private String codeUrl;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;


}

